<template>
<div>
  他的作品-id{{id}}
  <router-link to="/fans/123">粉丝634</router-link>
  <router-link to="/flowing/123">关注58</router-link>
  <router-link to="/talk/123">他的聊天</router-link>
  <userWork :id="id"></userWork>
</div>
</template>

<script>
import userWork from "@/components/userWork";
export default {
  name: "userInfo",
  data(){
    return{
      id:''
    }
  },
  created() {
    var {id}=this.$route.params
    this.id=id
  },
  components:{
    userWork
  }
}
</script>

<style scoped>

</style>
